require("@nomicfoundation/hardhat-toolbox");

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
  solidity: "0.8.24",
  paths: {
    sources: "./contracts",
    tests: "./test",
    cache: "./cache",
    artifacts: "./artifacts"
  },
  // 添加 OpenZeppelin 路径映射
  external: {
    contracts: {
      "@openzeppelin/contracts": "node_modules/@openzeppelin/contracts"
    }
  }
};